import Vue from 'vue'
import Router from 'vue-router'
import Recommend from '@/components/recommend/Recommend.vue'
import HomePage from '@/components/homePage/HomePage.vue'
import Gift from '@/components/gift/Gift.vue'
import Vip from '@/components/vip/Vip.vue'
import Personal from '@/components/personalCenter/Personal.vue'
import Home from '@/components/Home.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/recommend',
      name: 'Recommend',
      component: Recommend
    },
    {
      path: '/homePage',
      name: 'HomePage',
      component: HomePage
    },
    {
      path: '/gift',
      name: 'Gift',
      component: Gift
    },
    {
      path: '/vip',
      name: 'Vip',
      component: Vip
    },
    {
      path: '/personal',
      name: 'Personal',
      component: Personal
    },
    {
      path: '/home',
      component: Home
    }

  ]
})
